from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

import mainPage
import jsonPages
import angular


application = webapp.WSGIApplication([
                                      ('/', mainPage.MainPage),
                                      ('/isnewadmin', jsonPages.IsNewAdmin),
                                      ('/createadmin', jsonPages.CreateAdmin),
                                      ('/areadata', jsonPages.AreaData),
                                      ('/playerform', jsonPages.PlayerForm),
                                      ('/angularindex', angular.Main)
                                      ], debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()
